﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NRemedy.MVC.UI;
namespace RemedyMVC.Menu
{
    #region 事件大类
    public class Menu_Incident_Category : MenuObject
    {
        /// <summary>
        /// 事件大类
        /// </summary>
        public Menu_Incident_Category()
        {
            TargetForm = "WS_IncidentCategoryItem";
            TargetTextFieldId = 10000016u;
            TargetValueFieldId = 10000016u;
            Qualification = "'7'=\"启动\"";
            //影响小类和症状类别
            Impacts = new List<string>() { 
                
                "536870918",
                "536870954"
            };
        }
    }
    #endregion

    #region 事件小类
    public class Menu_Incident_SubCategory : MenuObject
    {
        /// <summary>
        /// 事件小类
        /// </summary>
        public Menu_Incident_SubCategory()
        {
            TargetForm = "WS_IncidentCategoryItem";
            TargetTextFieldId = 10000017u;
            TargetValueFieldId = 10000017u;
            //用大类过滤小类
            Qualification = "'10000016'=$536870917$ ";
            //影响症状类别
            Impacts = new List<string>() { 
                "536870954"               
            };
        }
    }
    #endregion

    #region 症状类别
    public class Menu_Incident_SymptomType : MenuObject
    {
        /// <summary>
        /// 症状类别
        /// </summary>
        public Menu_Incident_SymptomType()
        {
            TargetForm = "WS_IncidentCategoryItem";
            TargetTextFieldId = 10000018u;
            TargetValueFieldId = 10000018u;
            //用大类和小类过滤症状类别
            Qualification = "'10000017' = $536870918$";
            //Impacts = new List<string>() { 
            //    "536870955"
            //};
        }
    }
    #endregion

    #region 负责团队
    public class Menu_Incident_OwnerTeam : MenuObject
    {
        /// <summary>
        /// 负责团队
        /// </summary>
        public Menu_Incident_OwnerTeam()
        {
            TargetForm = "WS_Team";
            TargetTextFieldId = 100000000u;
            TargetValueFieldId = 100000000u;
            Impacts = new List<string>() { 
                "536870956"
            };
        }
    }
    #endregion

    #region 负责人
    public class Menu_Incident_Owner : MenuObject
    {
        /// <summary>
        /// 负责人
        /// </summary>
        public Menu_Incident_Owner()
        {
            TargetForm = "WS_TeamMember";
            TargetTextFieldId = 100000001u;
            TargetValueFieldId = 100000001u;
            Qualification = "'100000000'=$536870955$";
            //Impacts = new List<string>() { 
            //    "536870956"
            //};
        }
    }
    #endregion

    #region 解决方案大类
    public class Menu_Incident_ResolutionCategory : MenuObject
    {
        /// <summary>
        /// 解决方案大类
        /// </summary>
        public Menu_Incident_ResolutionCategory()
        {

            TargetForm = "WS_Incident_ResolutionCategory";
            TargetTextFieldId = 10000016u;
            TargetValueFieldId = 10000016u;
            Qualification = "";
            Impacts = new List<string>() { 
                "536870960",
                "536870962"
            };
        }
    }
    #endregion

    #region 解决方案小类
    public class Menu_Incident_ResolutionSubCategory : MenuObject
    {
        /// <summary>
        /// 解决方案小类
        /// </summary>
        public Menu_Incident_ResolutionSubCategory()
        {

            TargetForm = "WS_Incident_ResolutionCategory";
            TargetTextFieldId = 10000017u;
            TargetValueFieldId = 10000017u;
            Qualification = "'10000016'=$536870959$";
            Impacts = new List<string>() { 
                "536870962"
            };
        }
    }
    #endregion

    #region 发生原因
    public class Menu_Incident_ResolutionCauseCode : MenuObject
    {
        /// <summary>
        /// 发生原因
        /// </summary>
        public Menu_Incident_ResolutionCauseCode()
        {
            TargetForm = "WS_Incident_ResolutionCategory";
            TargetTextFieldId = 10000021u;
            TargetValueFieldId = 10000021u;
            //解决方案小类就可以过滤，但是最准确的还要加上大类
            Qualification = "'10000017'=$536870960$";
        }
    }
    #endregion

    #region 解决途径
    public class Menu_Incident_WayOfResolution : MenuObject
    {
        /// <summary>
        /// 解决途径
        /// </summary>
        public Menu_Incident_WayOfResolution()
        {
            TargetForm = "WS_Incident_Menu";
            TargetTextFieldId = 536870961u;
            TargetValueFieldId = 536870961u;
            Qualification = "'536870961' != $NULL$";
        }
    }
    #endregion

    #region 解决代码
    public class Menu_Incident_ResolveCode : MenuObject
    {
        /// <summary>
        /// 解决代码
        /// </summary>
        public Menu_Incident_ResolveCode()
        {
            TargetForm = "WS_Incident_Menu";
            TargetTextFieldId = 536870913u;
            TargetValueFieldId = 536870913u;
            Qualification = "'536870913' !=$NULL$";
        }
    }
    #endregion

    #region 操作类型
    public class Menu_Incident_AppTypeOfOperation : MenuObject
    {
        /// <summary>
        /// 操作类型
        /// </summary>
        public Menu_Incident_AppTypeOfOperation()
        {
            TargetForm = "WS_Incident_Menu";
            TargetTextFieldId = 536870968u;
            TargetValueFieldId = 536870968u;
            Qualification = "'536870968' != $NULL$";
        }
    }
    #endregion

    #region  产生原因
    public class Menu_Incident_AppTypeOfChange : MenuObject
    {
        /// <summary>
        /// 产生原因
        /// </summary>
        public Menu_Incident_AppTypeOfChange()
        {
            TargetForm = "WS_Incident_Menu";
            TargetTextFieldId = 536870969u;
            TargetValueFieldId = 536870969u;
            Qualification = "'536870969' != $NULL$";
        }
    }
    #endregion

    #region 事件控制台Combo过滤事件条件
    public class Menu_Incident_Combo_Condition : MenuObject
    {
        /// <summary>
        /// 
        /// </summary>
        public Menu_Incident_Combo_Condition()
        {
            TargetForm = "WS_IncidentTopTab";
            TargetTextFieldId = 536870914u;
            TargetValueFieldId = 536870916u;

        }
    }
    #endregion

    #region 事件状态

    public class Menu_Incident_Status : MenuObject
    {
        /// <summary>
        /// 事件状态
        /// </summary>
        public Menu_Incident_Status()
        {
            TargetForm = "WS_StatusCollector";
            TargetTextFieldId = 100001u;
            TargetValueFieldId = 10000u;
            Qualification = "'100002'=\"INCIDENT\"";
            //Impacts = new List<string>() { 
            //    "636870916"
            //};
        }
    }
    #endregion

    #region 事件来源
    public class Menu_Incident_Source : MenuObject
    {
        /// <summary>
        /// 事件来源
        /// </summary>
        public Menu_Incident_Source()
        {
            TargetForm = "WS_IncidentSource";
            TargetTextFieldId = 536870913u;
            TargetValueFieldId = 536870913u;

        }
    }
    #endregion

    #region 事件类型
    public class Menu_Incident_Type : MenuObject
    {
        /// <summary>
        /// 事件类型
        /// </summary>
        public Menu_Incident_Type()
        {
            TargetForm = "WS_IncidentType";
            TargetTextFieldId = 536870913u;
            TargetValueFieldId = 536870913u;

        }
    }
    #endregion

    #region 影响度
    public class Menu_Incident_Impact : MenuObject
    {
        /// <summary>
        /// 影响度
        /// </summary>
        public Menu_Incident_Impact()
        {
            TargetForm = "WS_Incident_Menu";
            TargetTextFieldId = 536870914u;
            TargetValueFieldId = 536870914u;
            Qualification = "'536870917' == \"影响度\"";
        }
    }
    #endregion

    #region 紧迫度
    public class Menu_Incident_Urgency : MenuObject
    {
        /// <summary>
        /// 紧迫度
        /// </summary>
        public Menu_Incident_Urgency()
        {
            TargetForm = "WS_Incident_Menu";
            TargetTextFieldId = 536870915u;
            TargetValueFieldId = 536870915u;
            Qualification = "'536870917' == \"紧迫度\"";
        }
    }
    #endregion

    #region 优先级
    public class Menu_Incident_Priority : MenuObject
    {
        /// <summary>
        /// 优先级
        /// </summary>
        public Menu_Incident_Priority()
        {
            TargetForm = "WS_Incident_Menu";
            TargetTextFieldId = 536870916u;
            TargetValueFieldId = 536870916u;
            Qualification = "'536870917' == \"优先级\"";
        }
    }
    #endregion

}